// HTTP Request
// Copyright 2006 (C) Ralph Thomas

#ifndef MISSION_UTIL_HTTP_H
#define MISSION_UTIL_HTTP_H

#include <string>

namespace util {
	//
	/// Perform an HTTP request on the given URL and return the
	/// result as a string. This function will throw an exception
	/// if the URL could not be fetched.
	///
	/// \param	url	the URL to fetch.
	/// \return	a string of the data.
	//
	std::string http_get( const std::string& url );
}

#endif

